// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   IUserService.java

package com.nervytech.tutorcruise.db.service.interfaces;

import com.nervytech.tutorcruise.db.dao.model.User;
import com.nervytech.tutorcruise.service.exception.TrainerCruiseServiceException;
import java.util.Date;

public interface IUserService
{

    public abstract void saveUser(User user)
        throws TrainerCruiseServiceException;

    public abstract User getUser(long l);

    public abstract void updateUser(User user);

    public abstract boolean checkIfUserExist(String s)
        throws TrainerCruiseServiceException;

    public abstract void updatePassword(long l, String s)
        throws TrainerCruiseServiceException;

    public abstract void updateStatus(long l, int i)
        throws TrainerCruiseServiceException;

    public abstract User getUserByEmail(String s)
        throws TrainerCruiseServiceException;

    public abstract void updateLastLoginTime(int i, Date date);

    public abstract void updateLastLoginTime(long l, Date date);

    public abstract void updateUserTypeAndCategory(long l, int i, int j)
        throws TrainerCruiseServiceException;

    public abstract void updateFirstLogin(long l, int i, int j, String s, int k)
        throws TrainerCruiseServiceException;

    public abstract User getTraineeProfile(long l)
        throws TrainerCruiseServiceException;
}
